#include <gtk/gtk.h>

void InitScreen( void )
{
     GtkWidget *window;
     GtkWidget *layout;
     GtkWidget *button;
     GtkWidget *scroll;

     window = gtk_window_new( GTK_WINDOW_TOPLEVEL );
     gtk_window_set_position( GTK_WINDOW( window ),GTK_WIN_POS_CENTER );
     g_signal_connect( G_OBJECT( window ),"destroy",G_CALLBACK( gtk_main_quit ),NULL );

     scroll = gtk_scrolled_window_new( NULL,NULL );
     gtk_scrolled_window_set_policy( GTK_SCROLLED_WINDOW( scroll ),GTK_POLICY_AUTOMATIC,GTK_POLICY_AUTOMATIC );
     gtk_container_add( GTK_CONTAINER( window ),scroll );

     layout = gtk_layout_new ( NULL,NULL );
     button = gtk_button_new_with_label( "BigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigBigLabel" );
     gtk_layout_put( GTK_LAYOUT( layout ),button,0,0 );

     gtk_container_add( GTK_CONTAINER( scroll ),layout );
     gtk_widget_show_all( window );
}

int main( int argc,char *argv[] )
{
     gtk_init( &argc,&argv );
     InitScreen();
     gtk_main();
     return 0;
}
